import {request,mallrequest} from './request';
export function getHomeMultidata() {
    return request({
        url: '/home/multidata'
    })
}

export function getHomeGoods(type,page) {
    return mallrequest({
        url: '/goods/search',
        params: {
            cid: type,
            pagenum: page,
            pagesize: 10
        }
    })
}

export function getGoodsDetail(goods_id) {
    return mallrequest({
        url: '/goods/detail',
        params: {
            goods_id
        }
    })
}